package com.ultrawise.survey.module.surevybase.vo;

import com.ultrawise.survey.core.base.Saveable;

/**
 * AbstractTSurveyInfoBase entity provides the base persistence definition of
 * the TSurveyInfoBase entity. @author MyEclipse Persistence Tools
 */

public class TSurveyInfoBase extends AbstractTSurveyInfoBase implements Saveable, java.io.Serializable {

	// Fields

	private Integer id;
	private String sy_name;
	private String sy_startime;
	private String sy_endtime;
	private String sy_template;//发布的模板信息
	private Integer sy_ispub;//是否发布
	private Integer sy_status;//是否启动，0表示未发布

	private String sy_preface;//新增的序言内容
	private String sy_opinion;//新增的问卷末尾信息
	private String createtime;
	private String person;

	// Constructors

	/** default constructor */
	public TSurveyInfoBase() {
	}

	/** minimal constructor */
	public TSurveyInfoBase(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSy_name() {
		return sy_name;
	}

	public void setSy_name(String sy_name) {
		this.sy_name = sy_name;
	}

	public String getSy_startime() {
		return sy_startime;
	}

	public void setSy_startime(String sy_startime) {
		this.sy_startime = sy_startime;
	}

	public String getSy_endtime() {
		return sy_endtime;
	}

	public void setSy_endtime(String sy_endtime) {
		this.sy_endtime = sy_endtime;
	}

	public String getSy_template() {
		return sy_template;
	}

	public void setSy_template(String syTemplate) {
		sy_template = syTemplate;
	}

	public Integer getSy_ispub() {
		return sy_ispub;
	}

	public void setSy_ispub(Integer sy_ispub) {
		this.sy_ispub = sy_ispub;
	}

	public Integer getSy_status() {
		return sy_status;
	}

	public void setSy_status(Integer sy_status) {
		this.sy_status = sy_status;
	}

	/**
	 * @return the sy_preface
	 */
	public String getSy_preface() {
		return sy_preface;
	}

	/**
	 * @param sy_preface the sy_preface to set
	 */
	public void setSy_preface(String sy_preface) {
		this.sy_preface = sy_preface;
	}

	/**
	 * @return the sy_opinion
	 */
	public String getSy_opinion() {
		return sy_opinion;
	}

	/**
	 * @param sy_opinion the sy_opinion to set
	 */
	public void setSy_opinion(String sy_opinion) {
		this.sy_opinion = sy_opinion;
	}

	public String getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public String getPerson() {
		return this.person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	
	private static String[] keyColumns = { "ID" };
	private static String TABLENAME = "T_SURVEY_INFO_BASE";

	public String[] getKeyColumns() {
		return keyColumns;
	}

	public String getTableName() {
		return TABLENAME;
	}

}